package com.example.selflearning.service;

import com.alicp.jetcache.anno.Cached;
import com.example.selflearning.domain.User;

public interface UserService {
    @Cached(name="UserService.getUserById", expire = 3600)
    User getUserById(int userId);
}
